/*
 * sDrop 0.1 - jQuery plugin
 *	written by Martin Srank
 *	http://labs.smasty.net/jquery/sdrop/
 *
 *	Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
 *	Dual licensed under the MIT (MIT-LICENSE.txt)
 *	and GPL (GPL-LICENSE.txt) licenses.
 *
 *	Built for jQuery library
 *	http://jquery.com
 *
 */
/*
 * Modified by t31os for SAM plugin for WordPress
 *
 * Added:   hoverIntent
 *          stop() on menu effect, reduce/stop animation queues
 *
 * Removed: Options, not needed for this scenario
 */
(function($) {

	$.fn.sDrop = function() {
	
		return this.each(function() {
			
			this.items = $(this).children('ul').children('li');
			
			$(this.items).hoverIntent(function() {
				
				$(this).children('ul').stop().fadeIn(100);
				
			}, function() {
				
				$(this).children('ul').stop().fadeOut(100);
				
			});
			
		});
	}
})(jQuery);